Deep understanding of PHP kernel (3) Overview-SAPI overview, deep understanding-sapi. In-depth understanding of PHP kernel (3) Overview-SAPI overview, deep understanding-sapi this article link: www. orlion. ml2341. in various stages of the PHP
This article mainly introduces the related information about the SAPI inquiry of PHP kernel (II). For more information, see the previous article ), I believe you have learned more or less through this article. you will continue to pay attention to
In the previous article to introduce you to the in-depth understanding of the PHP kernel (i), I believe that we have learned more or less some knowledge of the PHP kernel knowledge continue to focus on this article.
SAPI is the abbreviation for the
At various stages of the PHP lifecycle, some service-related operations are implemented through the SAPI interface. These built-in implementations of the physical location in the PHP source SAPI directory. This directory contains PHP code for each
At various stages of the PHP lifecycle, some service-related operations are implemented through the SAPI interface. These built-in implementations of the physical location in the PHP source SAPI directory. This directory contains PHP code for each
let's start with the PHP architecture diagram .:What SAPI?SAPI's Chinese translation: Server-side application programming interface. It is responsible for PHP interaction with other applications data. Other applications here may be shell or Apache,
1. CGI and fastcgi are two of Apache's working modes for PHP scripting, as well as ISAPI,SAPI.2, and PHP-FPM is not a work mode, but a PHP in FastCGI mode running Process Manager, all called php:fastcgi process Manager3, how to work is to see when
The life cycle of PHP
In a common webserver environment, you cannot start the PHP interpreter directly; This is typically initiated by Apache or other webserver, which loads PHP processing scripts that need to be processed (requested. PHP
In the previous chapter, we have a preliminary understanding of PHP's source directory structure, and this chapter continues to dissect PHP from the dimension of the life cycle.
I. OverviewWhat is the life cycle? You can think of it as a
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.